* babl/Makefile.am:
* babl/babl-extension.c:
+2006-11-15 Øyvind Kolås <pippin@gimp.org>
+
+ Set the default BABL_PATH based on the prefix babl is compiled for.
+
+ * babl/Makefile.am:
+ * babl/babl-extension.c:
+
2006-11-07 Øyvind Kolås <pippin@gimp.org>
* extensions/CIE-Lab.c: (formats): added "CIE Lab alpha float" as
INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/babl/base
+AM_CPPFLAGS = -DPREFIX=\""$(prefix)"\"
+
lib_LTLIBRARIES= libbabl.la
libbabl_la_SOURCES= $(h_sources) $(c_sources)
libbabl_la_LIBADD=\
#ifdef HAVE_CONFIG_H
#include "config.h"
#else
-#define BABL_PATH "~/.babl-0.0:/usr/local/lib/babl-0.0:/usr/lib/babl-0.0";
+#define BABL_PATH PREFIX "/babl-0.0"
#define BABL_PATH_SEPERATOR "/"
#define BABL_LIST_SEPERATOR ':'
#endif